package com.bbcloud.pojo;

import java.util.Date;

public class Cart {
    private Integer id;

    private String userId;

    private String productId;

    private Integer quantity;

    private Integer checked;

    private Date createTime;

    private Date updateTime;

    private String reserveStr1;

    private String reserveStr2;

    private Integer reserveInt1;

    private Integer reserveInt2;

    public Cart(Integer id, String userId, String productId, Integer quantity, Integer checked, Date createTime, Date updateTime, String reserveStr1, String reserveStr2, Integer reserveInt1, Integer reserveInt2) {
        this.id = id;
        this.userId = userId;
        this.productId = productId;
        this.quantity = quantity;
        this.checked = checked;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.reserveStr1 = reserveStr1;
        this.reserveStr2 = reserveStr2;
        this.reserveInt1 = reserveInt1;
        this.reserveInt2 = reserveInt2;
    }

    public Cart() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId == null ? null : productId.trim();
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getChecked() {
        return checked;
    }

    public void setChecked(Integer checked) {
        this.checked = checked;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getReserveStr1() {
        return reserveStr1;
    }

    public void setReserveStr1(String reserveStr1) {
        this.reserveStr1 = reserveStr1 == null ? null : reserveStr1.trim();
    }

    public String getReserveStr2() {
        return reserveStr2;
    }

    public void setReserveStr2(String reserveStr2) {
        this.reserveStr2 = reserveStr2 == null ? null : reserveStr2.trim();
    }

    public Integer getReserveInt1() {
        return reserveInt1;
    }

    public void setReserveInt1(Integer reserveInt1) {
        this.reserveInt1 = reserveInt1;
    }

    public Integer getReserveInt2() {
        return reserveInt2;
    }

    public void setReserveInt2(Integer reserveInt2) {
        this.reserveInt2 = reserveInt2;
    }
}